package com.neusoft.restaurant.mapper;

import com.neusoft.restaurant.entity.ResShop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: zhongda
 * @createTime: 2023/11/03 14:01
 * @email: fromzhongda@163.com
 * @description:
 */
@Mapper
public interface ResShopMapper {
    //
    List<ResShop> selectResShopList(ResShop resShop);

    ResShop selectResShopById(Long id);
//
    List<ResShop> selectResShop(@Param("name") String name, @Param("address") String address);
//
    int insertResShop(ResShop resShop);
//
    int updateResShop(ResShop resShop);

    int deleteResShopByIds(Long[] ids);

    int deleteResShopById(Long id);

//    List<ResShop> selectResShop2(List ids);

}
